﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

namespace BPipeline.Runtime
{

    [DisallowMultipleComponent]
    [RequireComponent(typeof(Light))]
    public class BAdditionalLightData : MonoBehaviour
    {
        Light mlight;


        public Light Light
        {
            get
            {
                if (mlight == null)
                {
                    this.TryGetComponent<Light>(out mlight);
                }
                return mlight;
            }
        }
    }
}
